﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp18
{
    class superman : animal,IFly
    {
        public superman(string name):base(name)
        {
            Name = name;
        }

        public string Name { get; set; }
        
        public void Fly1()
        {
            Console.WriteLine("起飞");
        }

        public void fly2()
        {
            Console.WriteLine("飞行中");
        }

        public void fly3()
        {
            Console.WriteLine("着陆");
        }
    }
}
